package cn.iocoder.yudao.module.famous.doctor.convert.archives;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.archives.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.archives.ArchivesDO;

/**
 * 患者档案 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ArchivesConvert {

    ArchivesConvert INSTANCE = Mappers.getMapper(ArchivesConvert.class);

    ArchivesDO convert(ArchivesCreateReqVO bean);

    ArchivesDO convert(ArchivesUpdateReqVO bean);

    ArchivesRespVO convert(ArchivesDO bean);

    List<ArchivesRespVO> convertList(List<ArchivesDO> list);

    PageResult<ArchivesRespVO> convertPage(PageResult<ArchivesDO> page);

    List<ArchivesExcelVO> convertList02(List<ArchivesDO> list);

}
